package com.wxj.bank.module.modle.criteria;

/**
 * Join类型
 */
public enum JoinType {
    AND,OR,NOR;

    public JoinType value(int code){
        switch (code){
            case 0:
                return AND;
            case 1:
                return OR;
            case 2:
                return NOR;
            default:
                return null;
        }
    }
}
